package cn.training.bean;

import cn.agriculture.common.validator.constraints.NotEmpty;

public class UserBean {
	@NotEmpty(field="用户ID",  message="{errors.required}")
	private String userId;
	@NotEmpty(field="用户姓名",  message="{errors.required}")
	private String userName;
	@NotEmpty(field="用户密码",  message="{errors.required}")
	private String passWord;
	@NotEmpty(field="确认密码",  message="{errors.required}")
	private String passWord1;

	public String getPassWord1() {
		return passWord1;
	}

	public void setPassWord1(String passWord1) {
		this.passWord1 = passWord1;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
		
}
